//
//  GroupCarModel.m
//  19-homework-homeOfCar
//
//  Created by 王道林 on 16/8/9.
//  Copyright © 2016年 王道林. All rights reserved.
//

#import "GroupCarModel.h"

@implementation GroupCarModel

- (instancetype)init
{
    self = [super init];
    if (self) {
        _list = [NSMutableArray array];
    }
    return self;
}


- (instancetype)initWithDic:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
        _list = [NSMutableArray array];
    }
    return self;
}

+ (EachCarModel *)groupCarModelWithDic:(NSDictionary *)dic
{
    return [[self alloc] initWithDic:dic];
}


- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}
- (id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}

@end
